package com.ruiysoft.service.cart;


import java.util.LinkedHashMap;
import java.util.List;

public interface ICartService {

    void addSkuIdNum(Long shopId, Long userId, Long skuId, Integer num);

    void delSkuId(Long shopId, Long userId, Long skuId);

    void subtractSkuIdNum(Long shopId, Long userId, Long skuId, Integer num);

    Integer cartSum(Long shopId, Long userId);

    LinkedHashMap<Long, Long> cartList(Long shopId, Long userId);

    void delSkuIds(Long shopId, Long userId, List<Long> skuIds);
}
